package org.jeecg.modules.yw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.yw.vo.WorkerStatic;
import org.jeecg.modules.yw.mapper.WorkerStaticMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WorkerStaticService extends ServiceImpl<WorkerStaticMapper, WorkerStatic> {

    public Page<WorkerStatic> pageInfo(Page<WorkerStatic> page, String name, String position, String[] areas) {
        return baseMapper.pageInfo(page,name,position,areas);
    }

    public List<WorkerStatic> listInfo(String[] idss, String name, String position, String[] areas) {
        List<WorkerStatic> list = baseMapper.listInfo(idss,name,position,areas);
        return list;
    }
}
